home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML 2.0 Sourcebook (2nd Edition)
/
VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso
/
book
/
mac
/
ch09
/
09fig06.wrl
< prev
next >
Wrap
Text File
|
1996-09-23
|
710b
|
36 lines
#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright 1997 By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Group {
children [
Group {
children [
DEF Shape1 Transform {
children Shape {
appearance DEF White Appearance {
material Material { }
}
geometry Box { }
}
},
DEF Shape1Sensor SphereSensor { }
]
},
Group {
children [
DEF Shape2 Transform {
translation 2.5 0.0 0.0
children Shape {
appearance USE White
geometry Cone { }
}
},
DEF Shape2Sensor SphereSensor { }
]
}
]
}
ROUTE Shape1Sensor.rotation_changed TO Shape1.set_rotation
ROUTE Shape2Sensor.rotation_changed TO Shape2.set_rotation